package com.classes;

import java.util.TreeMap;

public class GroupUser {
	private String user_id;
	private TreeMap<String, String> info;
	
	public String getUserId(){
		return this.user_id;
	}
	
	public String getInfo(String key){
		if(this.info == null){
			return null;
		}
		
		if(this.info.containsKey(key)){
			return this.info.get(key);
		}
		
		return null;
	}
	
	public void setUserId( String value ){
		this.user_id = value;
	}
	
	public void setInfo( String key, String value ){
		if(this.info == null){
			this.info = new TreeMap<String, String>();
		}
		
		this.info.put(key, value);
	}
}
